<?php
// 获取当前用户登录信息
    if(!session_id()){
        session_start();
    }

    if(isset($_SESSION['doc_info'])){
        $doc_info = $_SESSION['doc_info'];
        $doc_ID = $doc_info->doc_ID;                //医生ID
        $doc_Name = $doc_info->doc_Name;            //医生姓名
        $doc_TypeMain = $doc_info->doc_TypeMain;    //主要领域
        $doc_phone = $doc_info->doc_Phone;          //联系方式
        $doc_pwd = $doc_info->doc_Password;         //密码

        if($doc_info->doc_Accept == "1"){
            $doc_Accept = "正常接诊";            //状态
        }else{
            $doc_Accept = "暂停接诊";            //状态
        }
    }
?>

